package com.lmq.wxshare.constants;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class WxConstants {

    /**
     * 微信appid
     */
    @Value("${wx.appID}")
    private String appID;

    /**
     * 微信appsrcret
     */
    @Value("${wx.appsecret}")
    private String appsecret;

    /**
     * 微信授权地址
     */
    @Value("${wx.authorizeUrl}")
    private String authorizeUrl;

    /**
     * 微信获取token地址
     */
    @Value("${wx.atUrl}")
    private String ACCESS_TOKEN_URL;

    public String getAppID() {
        return appID;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public String getAuthorizeUrl() {
        return authorizeUrl;
    }

    public String getACCESS_TOKEN_URL() {
        return ACCESS_TOKEN_URL;
    }
}
